:host {
  display: block;

  .date-range-selector-container {
    border-bottom: 1px solid rgba(var(--dark-dividers));
  }

  .result-container {
    max-height: 15rem;

    .title {
      align-items: center;
      display: flex;
      font-size: 0.75rem;
      display: flex;
      margin: 0;
      position: relative;
      white-space: nowrap;

      &::after {
        content: '';
        flex-grow: 1;
        height: 1px;
        background: rgba(var(--dark-dividers));
        margin-left: 0.25rem;
      }
    }
  }

  .search-container {
    border-bottom: 1px solid rgba(var(--dark-dividers));
    height: 2.5rem;

    input {
      background: transparent;
      outline: 0;
    }

    .hot-key-hint {
      border: 1px solid rgba(var(--dark-dividers));
      border-radius: 0.25rem;
      cursor: default;
    }
  }
}

:host-context(.theme-dark) {
  .date-range-selector-container {
    border-color: rgba(var(--light-dividers));
  }

  .result-container {
    .title {
      &::after {
        background: rgba(var(--light-dividers));
      }
    }
  }

  .search-container {
    border-color: rgba(var(--light-dividers));

    input {
      color: rgba(var(--light-primary-text));
    }

    .hot-key-hint {
      border-color: rgba(var(--light-dividers));
    }
  }
}
